toolbutton: Fix off-center icons
authorMatthias Clasen <mclasen@redhat.com>
Sun, 7 Jan 2018 17:42:27 +0000 (12:42 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 7 Jan 2018 17:44:35 +0000 (12:44 -0500)
commit5ce2d77691743945ac63f6f63f98156dc7b8972b
tree9085859bba72a4ac7aac43090ef45ce5ae0ab364
parentb89bf98731e67921c5f4a328807d2d9fda189898
toolbutton: Fix off-center icons

When the toolbar style is both-horiz, and the item
is not important, we were not centering the icon in the
same way as in gtk3. The reason is that we overlooked
the expand child property being set to TRUE in this case.
gtk/gtktoolbutton.c